package com.cw.jeeyt.service.intf.system;

import java.util.List;

import com.cw.jeeyt.service.bo.system.SystemModuleInfoBo;
import com.cw.lang.mybatis.dto.PageInfo;

/**
 * 模块信息业务接口
 * @author chenw
* @version 1.0.0
 */
public interface SystemModuleInfoService {
    /**
     * 根据主键查询模块信息
     *
     * @param id 主键
     * @return
     */
    SystemModuleInfoBo getSystemModuleInfoById(String id) throws Exception;

    /**
     * 删除模块信息
     *
     * @param systemModuleInfoBo
     */
    void deleteSystemModuleInfo(SystemModuleInfoBo systemModuleInfoBo) throws Exception;

    /**
     * 更新模块信息
     *
     * @param systemModuleInfoBo
     */
    void updateSystemModuleInfo(SystemModuleInfoBo systemModuleInfoBo) throws Exception;

    /**
     * 新增模块信息
     *
     * @param systemModuleInfoBo
     * @return
     */
    void insertSystemModuleInfo(SystemModuleInfoBo systemModuleInfoBo) throws Exception;

    /**
     * 分页查询模块信息
     *
     * @param systemModuleInfoBo
     * @param startNum
     * @param pageSize
     * @return
     * @throws Exception
     */
    PageInfo<SystemModuleInfoBo> queryByPage(SystemModuleInfoBo systemModuleInfoBo, Integer startNum, Integer pageSize)
    throws Exception;

    /**
     * 根据项目id查询模块信息
     *
     * @param projectId 项目id
     * @return
     * @throws Exception
     */
    List<SystemModuleInfoBo> querySystemModuleInfoListByProjectId(String projectId) throws Exception;
}
